{config_load file=info.conf section="links"}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{#title#}</title>
{#css_style#}{#js_query#}
</head>
<body>
<div class="waps">
	<div style="margin-top:20px;"></div>
	 <b class="rtop opt"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
      <div class="con" style="padding-top:5px;"></div>
</div>
 <div class="waps">
       <div class="con">     
            <div  class="nopa">
            	<b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
                    <div class="pbox">
					<!--左框架开始 -->
						<div class="ls_lbox">
							<div class="am_title"><img src="../images/icons/05.png"  class="ls_icon"/><span class="lsfonts_l">用户注册</span></div>
                                 <div class="box_jx"></div>
                                <div class="shuoming">
                                <img src="../images/tag.png"  class="shuoming_icon" width="16" height="16"/>
								 上海隆鹰国际物流有限公司<br/>
								上海市控江路2200号D座2302室<br/>
								TEL:021-51872290<br/>
								FAX:021-51862950<br/>
								QQ:706255527<br/>
								MSN:
						      	<br/>
      							在线咨询：<img  style="CURSOR: pointer" onclick="javascript:window.open('http://bizapp.qq.com/webc.htm?new=0&sid=706255527&eid=&o=上海隆鹰国际物流有限公司铁路运价查询系统&q=7&ref='+document.location, '_blank', 'height=544, width=644,toolbar=no,scrollbars=no,menubar=no,status=no');"  border="0" SRC="http://im.bizapp.qq.com:8000/zx_qq.gif"/>
							</div>
						</div>
						<!--左框架结束-->
						<div class="ls_rbox">
							<div class="am_title"><span class="lsfonts_r">用户信息</span></div>
							<div class="listers">
	                           	<table>
	                           		<tr>
                                        	<td  class="step_rulname" valign="middle">会员名:</td>
                                            <td class="step_rultxt" valign="middle">
                                            	<input id="nick" type="text"  class="step_txt" maxlength="20"  style="width:160px;" value=""/>
                                            	<span class="step_remark"></span>
                                            </td>
                                        </tr>
                                  	<tr>
                                  	<tr>
                                        	<td  class="step_rulname" valign="middle">登录密码:</td>
                                            <td class="step_rultxt" valign="middle">
                                            	<input id="ps1" type="password"  class="step_txt" maxlength="20"  style="width:160px;" value=""/>
                                            	<span class="step_remark"></span>
                                            </td>
                                    </tr>
                                     <tr>
                                        	<td  class="step_rulname" valign="middle">确认密码:</td>
                                            <td class="step_rultxt" valign="middle">
                                            	<input id="ps2" type="password"  class="step_txt" maxlength="20"  style="width:160px;" value=""/>
                                            	<span class="step_remark"></span>
                                            </td>
                                       </tr>
                                  	<tr>
                                        	<td  class="step_rulname" valign="middle">姓名:</td>
                                            <td class="step_rultxt" valign="middle">
                                            	<input id="name" type="text"  class="step_txt" maxlength="20"  style="width:160px;" value=""/>
                                            	<span class="step_remark"></span>
                                            </td>
                                      </tr>
                                      <tr>
                                        	<td  class="step_rulname" valign="middle">公司名称:</td>
                                            <td class="step_rultxt" valign="middle">
                                            	<input id="cname" type="text"  class="step_txt" maxlength="500"  style="width:570px;" value=""/>
                                            	<span class="step_remark"></span>
                                            </td>
                                       </tr>
                                       <tr>
                                        	<td  class="step_rulname" valign="middle">公司地址:</td>
                                            <td class="step_rultxt" valign="middle">
                                            	<input id="cadd" type="text"  class="step_txt" maxlength="500"  style="width:570px;" value=""/>
                                            	<span class="step_remark"></span>
                                            </td>
                                       </tr>
                                      <tr>
                                        	<td  class="step_rulname" valign="middle">联系电话:</td>
                                            <td class="step_rultxt" valign="middle">
                                            	<input id="tel" type="text"  class="step_txt" maxlength="20"  style="width:160px;" value=""/>
                                            	<span class="step_remark"></span>
                                            </td>
                                       </tr>
                                      <tr>
                                        	<td  class="step_rulname" valign="middle">QQ:</td>
                                            <td class="step_rultxt" valign="middle">
                                            	<input id="qq" type="text"  class="step_txt" maxlength="20"  style="width:160px;" value=""/>
                                            	<span class="step_remark"></span>
                                            </td>
                                       </tr>
                                        <tr>
                                        	<td  class="step_rulname" valign="middle">MSN:</td>
                                            <td class="step_rultxt" valign="middle">
                                            	<input id="msn" type="text"  class="step_txt" maxlength="20"  style="width:160px;" value=""/>
                                            	<span class="step_remark"></span>
                                            </td>
                                       </tr>
                                       <tr>
                                        	<td  class="step_rulname" valign="top">自我描述:</td>
                                            <td class="uremark" valign="middle">
                                            	<textarea id="sr" class="step_textarea" style="width:570px; height:60px;" ></textarea>
                                            	<span class="step_remark"></span>
                                            </td>
                                       </tr>
                                  </table>
                                   <table class="next_step" align="center"> 
									<tr> 
										<td><a href="javascript:modify();"><div class="next_btn">确 认</div></a></td></td>
									</tr> 
									</table>
                            </div>
						</div>
						<!--右框架结束-->
					<div class="clear"></div>
</div></div></div></div>
<div id="test"></div>
{include file="foot.tpl"}
<script type="text/javascript">
{literal}
function modify(i){
	var nick=encodeURIComponent($.trim($("#nick").attr("value")));
	var ps1=encodeURIComponent($.trim($("#ps1").val()))
	var ps2=encodeURIComponent($.trim($("#ps2").val()));
	var name=encodeURIComponent($.trim($("#name").attr("value")));
	var cname=encodeURIComponent($.trim($("#cname").attr("value")));
	var cadd=encodeURIComponent($.trim($("#cadd").attr("value")));
	var tel=encodeURIComponent($.trim($("#tel").attr("value")));
	var qq=encodeURIComponent($.trim($("#qq").attr("value")));
	var msn=encodeURIComponent($.trim($("#msn").attr("value")));
	var uremark=encodeURIComponent($.trim($("#uremark").attr("value")));
	var params ={act:"modify",nick:nick,ps1:ps1,ps2:ps2,name:name,cname:cname,cadd:cadd,tel:tel,qq:qq,msn:msn,uremark:uremark};
	$.post('register.php',params,function(data) {
		//$("#test").html(data);
		if(data=="100"){
			window.location = "wait.php";
		}else{
			alert(data);
		}
	});	
}
</script>{/literal}
</body>
</html>